#ifndef GY_TRANSFORMATIONCLASS_H
#define GY_TRANSFORMATIONCLASS_H

#include <QObject>
#include <QMap>

class GY_TransformationClass : public QObject
{
    Q_OBJECT
public:
    explicit GY_TransformationClass(QObject *parent = nullptr);
    /**
     * @brief formulaTransformation 转换js格式字符串
     * @param source 字符串
     * @param tmpVec
     * @return 变量名称
     */
    QVector<QString> formulaTransformation(QString& source,QVector<QString>& tmpVec);
    /**
     * @brief findPointStruct 向下寻找
     * @param strdata 变量字符串
     * @param tmpVec 容器
     */
    void findPointStruct(QString& strdata,QVector<QString>& tmpVec);

signals:

private:
    QMap<QString,QString> m_mathFunction;

};

#endif // GY_TRANSFORMATIONCLASS_H
